﻿
/***********************************************************************************************************
 * Produced by App Advisory	- http://app-advisory.com													   *
 * Facebook: https://facebook.com/appadvisory															   *
 * Contact us: https://appadvisory.zendesk.com/hc/en-us/requests/new									   *
 * App Advisory Unity Asset Store catalog: http://u3d.as/9cs											   *
 * Developed by Gilbert Anthony Barouch - https://www.linkedin.com/in/ganbarouch                           *
 ***********************************************************************************************************/


using UnityEngine;
using System.Collections;


namespace AppAdvisory.TunnelAndTwist
{
	public static class ObjectPoolingExtensions
	{
		public static void Despawn(this GameObject myobject)
		{
			ObjectPooling.Despawn(myobject);
		}

		public static void PlayEffect(this GameObject particleEffect, int particlesAmount)
		{
			ObjectPooling.PlayEffect(particleEffect, particlesAmount);
		}

		public static void PlaySound(this GameObject soundSource)
		{
			ObjectPooling.PlaySound(soundSource);
		}
	}
}